package com.chengxiaoxiao.ai_demo.vo.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.List;


/**
 * 聊天输入表单
 *
 * @Description:
 * @Author Cheng Xiaoxiao
 * @Date: 2025-3-6 15:25:51
 */
@Data
@Schema(description = "聊天表单")
public class ChatForm implements Serializable {
    /**
     * 文字
     */
    @Schema(description = "文字消息")
    private String text;

    /**
     * 知识库ID
     */
    @Schema(description = "所选知识库ID")
    private String knowledgeBaseId;

    /**
     * 选中的上下文
     */
    @Schema(description = "选中的上下文")
    private List<ContextForm> context;

    /**
     * 图片
     */
    @Schema(description = "附件信息")
    private List<MultipartFile> attachmentList;
}
